package com.songlanyun.modules.studyingDetail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.studyingDetail.entity.StudyingDetail;
import com.songlanyun.modules.studyingType.entity.StudyingType;

import java.util.List;
import java.util.Map;

public interface StudyingDetailService extends IService<StudyingDetail> {
    PageUtils queryPage(Map<String, Object> params);

    StudyingDetail loadById(Long id, boolean b);

    StudyingDetail add(StudyingDetail studyingDetail);

    StudyingDetail update(StudyingDetail studyingDetail);

    List<StudyingDetail> loadByStudyingId(Long studying);

    void addVideoClick(Long id, int clicks);
}
